<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\UserBonus
 *
 * @property int $bonus_id
 * @property int $bonus_type_id
 * @property int $bonus_sn
 * @property int $user_id
 * @property int $used_time
 * @property int $order_id
 * @property int $emailed
 * @method static \Illuminate\Database\Eloquent\Builder|UserBonus newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|UserBonus newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|UserBonus query()
 * @method static \Illuminate\Database\Eloquent\Builder|UserBonus whereBonusId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserBonus whereBonusSn($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserBonus whereBonusTypeId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserBonus whereEmailed($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserBonus whereOrderId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserBonus whereUsedTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserBonus whereUserId($value)
 * @mixin \Eloquent
 */
class UserBonus extends Model
{
    protected $table = 'user_bonus';
    protected $primaryKey = 'bonus_id';
    protected $fillable = ['bonus_type_id', 'bonus_sn', 'user_id', 'used_time', 'order_id', 'emailed'];

    public $timestamps = false;
}
